package com.lcf.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lcf.framework.vo.PageVO;
import com.lcf.system.dto.GoodsCommentDTO;
import com.lcf.system.entity.GoodsComment;
import com.lcf.system.query.GoodsCommentPageQuery;
import com.lcf.system.vo.GoodsCommentVO;

/**
 * 商品评价(GoodsComment)表服务接口
 *
 * @author lcf
 * @since 2025-04-24 21:14:32
 */
public interface GoodsCommentService extends IService<GoodsComment> {
    /**
     * 新增
     */
    boolean insert(GoodsCommentDTO dto);
    /**
     * 修改
     */
    boolean update(Long id, GoodsCommentDTO dto);
    /**
     * 删除
     */
    boolean delete(Long id);
    /**
     * 查询
     */
    GoodsCommentVO query(Long id);
    /**
     * 分页查询
     */
    PageVO<GoodsCommentVO> page(GoodsCommentPageQuery query);
}

